Online documentation - WebsydianExpress v3.5 |
APIServer.AuthorizedEvents.RemoveAllRoles
Field | Variable | ...as | Description |
---|---|---|---|
AuthorizedEventSurrogate | Input | Input | Uniquely identifies the authorized event you want to remove the
role from.
Mandatory. |
This API removes all roles from the specified authorized event.
This means that the specified event no longer will be authorized by any roles. Unless you at the same time set new roles or set the event to inactive, no users will have access to the event.
If you do not have the AuthorizedEventSurrogate, you can obtain it by calling AuthorizedEvent.GetEventBySiteName API.
WSE0100 - Role not found
WSE0256 - Authorized event not found